package com.lovo.service;

import com.github.pagehelper.PageInfo;
import com.lovo.model.Commodity;
public interface CommodityService {

    PageInfo<Commodity> listsBySelective(int pageNo, int pageSize, String commodityName, String commodityType);

    boolean insertCommodity(Commodity record);

    boolean deleteByPrimaryKey(Integer commodityId);

    boolean updateBySelective(Commodity record);

    Commodity selectByPrimaryKey(Integer commodityId);
}
